package com.ssm.student.dao;

import com.ssm.student.eo.AnswerPaperEoPage;
import com.ssm.student.model.AnswerPaper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/*
 * 操作数据库方法的对接
 * */
@Mapper
public interface AnswerPaperMapper {
    //添加
    int insertAnswerPaper( AnswerPaper answerPaper);

    //通过获取数量
    int getExaminationpapersid(int examinationpapersid);

    //通过主键更新
    int updateAnswerPaper( AnswerPaper answerPaper);

    //通过主键删除
    int delAnswerPaper (Integer answerpaperid);
    //根据条件获取相关信息
    List<AnswerPaperEoPage> getWhereAll(AnswerPaperEoPage answerPaperEoPage);
}
